package red.mapper;

import org.apache.ibatis.annotations.Param;
import red.model.UserModel;

import java.util.List;

public interface Usermapper  {
    List<UserModel>selectuser(UserModel userModel);

    List<UserModel> loginUser(@Param("userModel") UserModel userModel);

    List<UserModel>loginuser(@Param("user") String user, @Param("password") String password);

    void registuser(@Param("userModel") UserModel userModel);

    List<UserModel>selectreg(@Param("user") String user);
}
